﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace test.demo.Model.WM仓储管理
{
    /// <summary>
    /// 库存盘点记录表
    /// </summary>
    public class WM_Stock_Taking : Entity<int>
    {

        /// <summary>
        /// 盘点单编号
        /// </summary>
        public string TakingCode { get; set; }

        /// <summary>
        /// 盘点单名称
        /// </summary>
        public string TakingName { get; set; }

        /// <summary>
        /// 盘点日期
        /// </summary>
        public DateTime TakingDate { get; set; }

        /// <summary>
        /// 盘点人用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 盘点人名称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 盘点类型
        /// </summary>
        public string TakingType { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public string Status { get; set; } = "PREPARE";

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}

